import { defineStore } from 'pinia'
export const taskAnalyseStore = defineStore('taskAnalyseStore', {
    state: () => {
        return {
            list: [] as any,
            titleList: [] as any
        }
    },
    actions: {
        taskChange(list) {
            this.list = list
        },
        taskTitle(titleList) {
            this.titleList = titleList
        }
    },
    getters: {},
    persist: {
        storage: sessionStorage,
        paths: ['list'],
    }
})